const TokenKey = 'Admin_Token'
const Admin_id = 'Admin_Id'
const Admin_name = 'Admin_Name'
const Admin_email = 'Admin_Email'
const Admin_phone = 'Admin_Phone'

export function getToken() {
  return sessionStorage.getItem(TokenKey)
}

export function setToken(token) {
  return sessionStorage.setItem(TokenKey, token)
}

export function removeToken() {
  return sessionStorage.removeItem(TokenKey)
}

export function getId() {
  return sessionStorage.getItem(Admin_id)
}

export function setId(id) {
  return sessionStorage.setItem(Admin_id, id)
}

export function removeId() {
  return sessionStorage.removeItem(Admin_id)
}

export function getName() {
  return sessionStorage.getItem(Admin_name)
}

export function setName(name) {
  return sessionStorage.setItem(Admin_name, name)
}

export function removeName() {
  return sessionStorage.removeItem(Admin_name)
}

export function getEmail() {
  return sessionStorage.getItem(Admin_email)
}

export function setEmail(email) {
  return sessionStorage.setItem(Admin_email, email)
}

export function removeEmail() {
  return sessionStorage.removeItem(Admin_email)
}

export function getPhone() {
  return sessionStorage.getItem(Admin_phone)
}

export function setPhone(phone) {
  return sessionStorage.setItem(Admin_phone, phone)
}

export function removePhone() {
  return sessionStorage.removeItem(Admin_phone)
}
